package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 论坛帖子对象 pc_forum_post
 * 
 * @author ruoyi
 */
public class PcForumPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 帖子ID */
    @Excel(name = "帖子ID", cellType = Excel.ColumnType.NUMERIC)
    private Long postId;

    /** 用户ID */
    @Excel(name = "用户ID", cellType = Excel.ColumnType.NUMERIC)
    private Long userId;

    /** 帖子标题 */
    @Excel(name = "帖子标题")
    private String postTitle;

    /** 帖子内容 */
    private String postContent;

    /** 帖子图片（JSON数组） */
    private String postImages;

    /** 浏览次数 */
    @Excel(name = "浏览次数", cellType = Excel.ColumnType.NUMERIC)
    private Integer viewCount;

    /** 回复次数 */
    @Excel(name = "回复次数", cellType = Excel.ColumnType.NUMERIC)
    private Integer replyCount;

    /** 点赞次数 */
    @Excel(name = "点赞次数", cellType = Excel.ColumnType.NUMERIC)
    private Integer likeCount;

    /** 是否置顶（0否 1是） */
    @Excel(name = "是否置顶", readConverterExp = "0=否,1=是")
    private String isTop;

    /** 是否热门（0否 1是） */
    @Excel(name = "是否热门", readConverterExp = "0=否,1=是")
    private String isHot;

    /** 状态（0正常 1删除 2审核中） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=删除,2=审核中")
    private String status;

    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setPostTitle(String postTitle) 
    {
        this.postTitle = postTitle;
    }

    public String getPostTitle() 
    {
        return postTitle;
    }

    public void setPostContent(String postContent) 
    {
        this.postContent = postContent;
    }

    public String getPostContent() 
    {
        return postContent;
    }

    public void setPostImages(String postImages) 
    {
        this.postImages = postImages;
    }

    public String getPostImages() 
    {
        return postImages;
    }

    public void setViewCount(Integer viewCount) 
    {
        this.viewCount = viewCount;
    }

    public Integer getViewCount() 
    {
        return viewCount;
    }

    public void setReplyCount(Integer replyCount) 
    {
        this.replyCount = replyCount;
    }

    public Integer getReplyCount() 
    {
        return replyCount;
    }

    public void setLikeCount(Integer likeCount) 
    {
        this.likeCount = likeCount;
    }

    public Integer getLikeCount() 
    {
        return likeCount;
    }

    public void setIsTop(String isTop) 
    {
        this.isTop = isTop;
    }

    public String getIsTop() 
    {
        return isTop;
    }

    public void setIsHot(String isHot) 
    {
        this.isHot = isHot;
    }

    public String getIsHot() 
    {
        return isHot;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postId", getPostId())
            .append("userId", getUserId())
            .append("postTitle", getPostTitle())
            .append("postContent", getPostContent())
            .append("postImages", getPostImages())
            .append("viewCount", getViewCount())
            .append("replyCount", getReplyCount())
            .append("likeCount", getLikeCount())
            .append("isTop", getIsTop())
            .append("isHot", getIsHot())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}

